package com.upcode.weighing.vo.req.pc.sys;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper=false)
public class UpdatePWDVo implements Serializable {
    @JsonFormat(shape =JsonFormat.Shape.STRING )
    private Long id;//用户id
    @NotNull(message = "旧密码不能为空")
    private String oldPWD;//旧密码
    @NotNull(message = "新密码不能为空")
    private String newPWD;//新密码
    @NotNull(message = "重复密码不能为空")
    private String newResPWD;//新密码重复

}
